﻿using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using System;
namespace H2.NET.Web.Pages.SMD.Model
{
    [Table]
    [Serializable]
    public class v_StoreMasterData : DataObject
    {
        [ID]
        [IDENTITY]
        [Column]
        public int ID { get { return fID; } set { fID = value; EntityState.FieldChange("ID"); } } private int fID; public static FieldInfo _ID = new FieldInfo("v_StoreMasterData", "ID");
        [Column]
        public DateTime? SubmitDate { get { return fSUBMITDATE; } set { fSUBMITDATE = value; EntityState.FieldChange("SubmitDate"); } } private DateTime? fSUBMITDATE; public static FieldInfo _SubmitDate = new FieldInfo("v_StoreMasterData", "SubmitDate");
        [Column]
        public string Creator { get { return fCREATOR; } set { fCREATOR = value; EntityState.FieldChange("Creator"); } } private string fCREATOR; public static FieldInfo _Creator = new FieldInfo("v_StoreMasterData", "Creator");
        [Column]
        public string CreatorStaffCode { get { return fCREATORSTAFFCODE; } set { fCREATORSTAFFCODE = value; EntityState.FieldChange("CreatorStaffCode"); } } private string fCREATORSTAFFCODE; public static FieldInfo _CreatorStaffCode = new FieldInfo("v_StoreMasterData", "CreatorStaffCode");
        [Column]
        public string SerialNumber { get { return fSERIALNUMBER; } set { fSERIALNUMBER = value; EntityState.FieldChange("SerialNumber"); } } private string fSERIALNUMBER; public static FieldInfo _SerialNumber = new FieldInfo("v_StoreMasterData", "SerialNumber");
        [Column]
        public string DealerName { get { return fDEALERNAME; } set { fDEALERNAME = value; EntityState.FieldChange("DealerName"); } } private string fDEALERNAME; public static FieldInfo _DealerName = new FieldInfo("v_StoreMasterData", "DealerName");
        [Column]
        public string DealerCode { get { return fDEALERCODE; } set { fDEALERCODE = value; EntityState.FieldChange("DealerCode"); } } private string fDEALERCODE; public static FieldInfo _DealerCode = new FieldInfo("v_StoreMasterData", "DealerCode");
        [Column]
        public string StoreType { get { return fSTORETYPE; } set { fSTORETYPE = value; EntityState.FieldChange("StoreType"); } } private string fSTORETYPE; public static FieldInfo _StoreType = new FieldInfo("v_StoreMasterData", "StoreType");
        [Column]
        public string StoreName { get { return fSTORENAME; } set { fSTORENAME = value; EntityState.FieldChange("StoreName"); } } private string fSTORENAME; public static FieldInfo _StoreName = new FieldInfo("v_StoreMasterData", "StoreName");
        [Column]
        public string Channel { get { return fCHANNEL; } set { fCHANNEL = value; EntityState.FieldChange("Channel"); } } private string fCHANNEL; public static FieldInfo _Channel = new FieldInfo("v_StoreMasterData", "Channel");
        [Column]
        public string ApplicationType { get { return fAPPLICATIONTYPE; } set { fAPPLICATIONTYPE = value; EntityState.FieldChange("ApplicationType"); } } private string fAPPLICATIONTYPE; public static FieldInfo _ApplicationType = new FieldInfo("v_StoreMasterData", "ApplicationType");
        [Column]
        public string NewFitment { get { return fNEWFITMENT; } set { fNEWFITMENT = value; EntityState.FieldChange("NewFitment"); } } private string fNEWFITMENT; public static FieldInfo _NewFitment = new FieldInfo("v_StoreMasterData", "NewFitment");
        [Column]
        public string Fax { get { return fFAX; } set { fFAX = value; EntityState.FieldChange("Fax"); } } private string fFAX; public static FieldInfo _Fax = new FieldInfo("v_StoreMasterData", "Fax");
        [Column]
        public string Telephone { get { return fTELEPHONE; } set { fTELEPHONE = value; EntityState.FieldChange("Telephone"); } } private string fTELEPHONE; public static FieldInfo _Telephone = new FieldInfo("v_StoreMasterData", "Telephone");
        [Column]
        public string ContractPerson { get { return fCONTRACTPERSON; } set { fCONTRACTPERSON = value; EntityState.FieldChange("ContractPerson"); } } private string fCONTRACTPERSON; public static FieldInfo _ContractPerson = new FieldInfo("v_StoreMasterData", "ContractPerson");
        [Column]
        public string AreaName { get { return fAREANAME; } set { fAREANAME = value; EntityState.FieldChange("AreaName"); } } private string fAREANAME; public static FieldInfo _AreaName = new FieldInfo("v_StoreMasterData", "AreaName");
        [Column]
        public string CityName { get { return fCITYNAME; } set { fCITYNAME = value; EntityState.FieldChange("CityName"); } } private string fCITYNAME; public static FieldInfo _CityName = new FieldInfo("v_StoreMasterData", "CityName");
        [Column]
        public string ProvinceName { get { return fPROVINCENAME; } set { fPROVINCENAME = value; EntityState.FieldChange("ProvinceName"); } } private string fPROVINCENAME; public static FieldInfo _ProvinceName = new FieldInfo("v_StoreMasterData", "ProvinceName");
        [Column]
        public string Address { get { return fADDRESS; } set { fADDRESS = value; EntityState.FieldChange("Address"); } } private string fADDRESS; public static FieldInfo _Address = new FieldInfo("v_StoreMasterData", "Address");
        [Column]
        public string Location { get { return fLOCATION; } set { fLOCATION = value; EntityState.FieldChange("Location"); } } private string fLOCATION; public static FieldInfo _Location = new FieldInfo("v_StoreMasterData", "Location");
        [Column]
        public decimal? DisplayArea { get { return fDISPLAYAREA; } set { fDISPLAYAREA = value; EntityState.FieldChange("DisplayArea"); } } private decimal? fDISPLAYAREA; public static FieldInfo _DisplayArea = new FieldInfo("v_StoreMasterData", "DisplayArea");
        [Column]
        public string DispenseModel { get { return fDISPENSEMODEL; } set { fDISPENSEMODEL = value; EntityState.FieldChange("DispenseModel"); } } private string fDISPENSEMODEL; public static FieldInfo _DispenseModel = new FieldInfo("v_StoreMasterData", "DispenseModel");
        [Column]
        public string ShakerModel { get { return fSHAKERMODEL; } set { fSHAKERMODEL = value; EntityState.FieldChange("ShakerModel"); } } private string fSHAKERMODEL; public static FieldInfo _ShakerModel = new FieldInfo("v_StoreMasterData", "ShakerModel");
        [Column]
        public string PcModel { get { return fPCMODEL; } set { fPCMODEL = value; EntityState.FieldChange("PcModel"); } } private string fPCMODEL; public static FieldInfo _PcModel = new FieldInfo("v_StoreMasterData", "PcModel");
        [Column]
        public decimal? BuyMachineDeposit { get { return fBUYMACHINEDEPOSIT; } set { fBUYMACHINEDEPOSIT = value; EntityState.FieldChange("BuyMachineDeposit"); } } private decimal? fBUYMACHINEDEPOSIT; public static FieldInfo _BuyMachineDeposit = new FieldInfo("v_StoreMasterData", "BuyMachineDeposit");
        [Column]
        public decimal? TotalDeposit { get { return fTOTALDEPOSIT; } set { fTOTALDEPOSIT = value; EntityState.FieldChange("TotalDeposit"); } } private decimal? fTOTALDEPOSIT; public static FieldInfo _TotalDeposit = new FieldInfo("v_StoreMasterData", "TotalDeposit");
        [Column]
        public decimal? MachineDeposit { get { return fMACHINEDEPOSIT; } set { fMACHINEDEPOSIT = value; EntityState.FieldChange("MachineDeposit"); } } private decimal? fMACHINEDEPOSIT; public static FieldInfo _MachineDeposit = new FieldInfo("v_StoreMasterData", "MachineDeposit");
        [Column]
        public decimal? DecorativeDeposit { get { return fDECORATIVEDEPOSIT; } set { fDECORATIVEDEPOSIT = value; EntityState.FieldChange("DecorativeDeposit"); } } private decimal? fDECORATIVEDEPOSIT; public static FieldInfo _DecorativeDeposit = new FieldInfo("v_StoreMasterData", "DecorativeDeposit");
        [Column]
        public int? DepositType { get { return fDEPOSITTYPE; } set { fDEPOSITTYPE = value; EntityState.FieldChange("DepositType"); } } private int? fDEPOSITTYPE; public static FieldInfo _DepositType = new FieldInfo("t_smd_Device", "DepositType");
        [Column]
        public string AuthID { get { return fAUTHID; } set { fAUTHID = value; EntityState.FieldChange("AuthID"); } } private string fAUTHID; public static FieldInfo _AuthID = new FieldInfo("v_StoreMasterData", "AuthID");
        [Column]
        public string Status { get { return fSTATUS; } set { fSTATUS = value; EntityState.FieldChange("Status"); } } private string fSTATUS; public static FieldInfo _Status = new FieldInfo("v_StoreMasterData", "Status");
        [Column]
        public DateTime? OpenDate { get { return fOPENDATE; } set { fOPENDATE = value; EntityState.FieldChange("OpenDate"); } } private DateTime? fOPENDATE; public static FieldInfo _OpenDate = new FieldInfo("v_StoreMasterData", "OpenDate");
        [Column]
        public string RequestRemark { get { return fREQUESTREMARK; } set { fREQUESTREMARK = value; EntityState.FieldChange("RequestRemark"); } } private string fREQUESTREMARK; public static FieldInfo _RequestRemark = new FieldInfo("v_StoreMasterData", "RequestRemark");
        [Column]
        public string ApplicationNO { get { return fAPPLICATIONNO; } set { fAPPLICATIONNO = value; EntityState.FieldChange("ApplicationNO"); } } private string fAPPLICATIONNO; public static FieldInfo _ApplicationNO = new FieldInfo("v_StoreMasterData", "ApplicationNO");
        [Column]
        public string Step { get { return fSTEP; } set { fSTEP = value; EntityState.FieldChange("Step"); } } private string fSTEP; public static FieldInfo _Step = new FieldInfo("v_StoreMasterData", "Step");
        [Column]
        public int? StoreId { get { return fSTOREID; } set { fSTOREID = value; EntityState.FieldChange("StoreId"); } } private int? fSTOREID; public static FieldInfo _StoreId = new FieldInfo("v_StoreMasterData", "StoreId");
        [Column]
        public string Process { get { return fPROCESS; } set { fPROCESS = value; EntityState.FieldChange("Process"); } } private string fPROCESS; public static FieldInfo _Process = new FieldInfo("v_StoreMasterData", "Process");
        [Column]
        public int? Incident { get { return fINCIDENT; } set { fINCIDENT = value; EntityState.FieldChange("Incident"); } } private int? fINCIDENT; public static FieldInfo _Incident = new FieldInfo("v_StoreMasterData", "INCIDENT");
        [Column]
        public string TaskId { get { return fTASKID; } set { fTASKID = value; EntityState.FieldChange("TaskId"); } } private string fTASKID; public static FieldInfo _TaskId = new FieldInfo("v_StoreMasterData", "TaskId");
        [Column]
        public int Sem { get { return fSem; } set { fSem = value; EntityState.FieldChange("sem"); } } private int fSem; public static FieldInfo _Sem = new FieldInfo("v_StoreMasterData", "sem");
      

    }
}